<template>
    <div>
        <div class="i_box slt">
            <div class="box_h">
                <div :class="[type===0 || type==2?'title':'title1']">
                    {{title}}
                    <div class=" line_l" :class="[type===0?'line':'line1']">&nbsp;</div>
                    <div class=" line_r" :class="[type===0?'line':'line1']">&nbsp;</div>
                </div>
                <p>{{titleEng}}</p>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    props: {
        title: {
            type: String,
            default: function() {
                return ""
            }
        },
        titleEng: {
            type: String,
            default: function() {
                return ""
            }
        },
        type: {
            type: Number,
            default: function() {
                return 0
            }
        }
    }
}
</script>
<style lang="stylus" scoped>
.i_box
    width:100%; padding:50px 0; margin:0px auto;
    .box_h
        width:100%; text-align:center;
        .title
            display:inline-block; *display:inline; zoom:1; width:200px; height:40px; line-height:40px; border:1px solid #ddd; position:relative; top:0px; z-index:99; font-size:24px; color:#8F9193; position:relative;
        .title1
            display:inline-block; *display:inline; zoom:1; width:200px; height:40px; line-height:40px; border:1px solid #ddd; position:relative; top:0px; z-index:99; font-size:24px; color:#8F9193; position:relative;

        .line
            width:110px; height:1px; background:#ddd; position:absolute; top:20px;
        .line1
            width:110px; height:1px; background:#ddd; position:absolute; top:20px;
            
    .box_m
        margin-top:60px;
.slt
    .box_h
        .line 
            background:#004588;
        .line1 
            background:#bbb;
        .title
            color:#004588; border:1px solid #004588;
        .line_l
            left:-110px
        .line_r
            right: -110px
        p
            width:100%; height:33px; line-height:33px; font-size:16px; color:#8F9193;

</style>